/*
 *  guid.h
 *  Untitled
 *
 *  Created by Ben Nolan on 2/11/08.
 *  Copyright 2008 __MyCompanyName__. All rights reserved.
 *
 */
#pragma once

#include <string>
#include <iostream>

namespace Wonderland {
	typedef unsigned long long int64;
	
	class Guid{
	public:
		Guid(){};
		Guid(int64 guid) : guid_(guid){
		}
		Guid(std::string);

		std::string toString() const;

		inline bool operator== (const Guid c) const{
			return c.guid_ == guid_;
		}
		inline bool operator< (const Guid c) const{
			return c.guid_ < guid_;
		}
		
	private:
		int64 guid_;
	};

	std::ostream& operator << (std::ostream &os,const Guid &g);
}


